home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Genie / Projects / Hello / Source / Sources / HelloPaneHello.cc < prev   
Encoding:
C/C++ Source or Header  |  2000-06-24  |  675 b   |  40 lines

  1. /*    =================
  2.  *    HelloPaneHello.cc
  3.  *    =================
  4.  */
  5.  
  6. #include "PedestalDebugging.h"
  7.  
  8. //#include <QuickDraw.h>
  9. #include <Icons.h>
  10.  
  11. #include "HelloPaneHello.hh"
  12.  
  13. #include "PedView.hh"
  14.  
  15. HelloPaneHello::HelloPaneHello(PedView &inSuperView)
  16. : PedPane(inSuperView)
  17. {
  18. }
  19.  
  20. HelloPaneHello::~HelloPaneHello()
  21. {
  22. }
  23.  
  24. void
  25. HelloPaneHello::Draw()
  26. {
  27.     //::EraseRect(&qd.thePort->portRect);
  28.     Rect rect;
  29.     ::SetRect(&rect, 0, 0, 128, 128);
  30.     //::PlotIconID(&mBounds, atAbsoluteCenter, ttNone, 128);
  31.     ::PlotIconID(&rect, atAbsoluteCenter, ttNone, 128);
  32. }
  33.  
  34. void
  35. HelloPaneHello::Resize(short inWidth, short inHeight)
  36. {
  37.     //PedPane::Resize(inWidth, inHeight);
  38.     //mSuperView.Refresh();
  39. }
  40.